home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 2
/
SPACE - Library 2 - Volume 1.iso
/
utility
/
252
/
gemsrc
/
print.mod
< prev
next >
Wrap
Text File
|
1988-02-13
|
537b
|
27 lines
IMPLEMENTATION MODULE Print;
IMPORT GEMDOS;
(********************************************************************)
PROCEDURE String ( VAR Item : ARRAY OF CHAR );
CONST
CR = 15C;
LF = 12C;
VAR Index : CARDINAL;
BEGIN
Index := 0;
WHILE ((Index <= HIGH (Item)) AND (Item[Index] <> CHR (0))) DO
GEMDOS.PrnOut ( Item[Index] );
INC (Index);
END (* DO *);
GEMDOS.PrnOut ( CR );
GEMDOS.PrnOut ( LF );
END String;
END Print.